VERSION=1.0.0

.PHONY: linux
linux: 
	@echo "> make linux"
	CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X 'main.Version=$(VERSION)'"

.PHONY: build
build: web linux

.PHONY: macos
macos:
	@echo ">> build macos"
	CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build